package com.ugoodtech.mdcc.core.service;


import com.ugoodtech.mdcc.core.domain.User;
import com.ugoodtech.mdcc.core.dto.MinipAuthRestResponse;

/**
 * Copyright © 2013 All Rights Reserved, Ugood Technology, Inc.
 */
public interface WechatService {

    void pushWechatMessage(User user, String template_id, String directUrl, String first, String remark, String keyword1, String keyword2, String keyword3, String keyword4, String keyword5);

    String getOpenId(String code) throws Exception;

    String getAccess_token();

    /**
     * 小程序登录验证
     *
     * @param code
     * @return
     */
    MinipAuthRestResponse miniLoginAuth(String code);

}
